package com.cjw.pojo.entity.person;

import com.cjw.pojo.entity.database.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Table;
import java.util.Date;

/**
 * @create_time:2021.11.17
 * @auth:cjw
 * @descripe:个人信息详细情况表
 */
@Data
@ToString(callSuper = true)
@Table(name = "user")
@EqualsAndHashCode(callSuper = true)
@ApiModel("个人信息详细情况表")
public class UserDetail extends BaseEntity {
    @ApiModelProperty("用户名称(真名)")
    private String name;

    @ApiModelProperty("性别")
    private String sex;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("出生年月")
    private Date birthday;

    @ApiModelProperty("职业")
    private String profession;

    @ApiModelProperty("user表id")
    private Long userId;

    @ApiModelProperty("头像")
    private String headImage;

    @ApiModelProperty("E-mail")
    private String email;

    @ApiModelProperty("个人介绍")
    private String introduction;

}
